home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / gnuish / flex251s / mkskel.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  1995-01-09  |  192b  |  17 lines

  1. #! /bin/sh
  2.  
  3. cat <<!
  4. /* File created from flex.skl via mkskel.sh */
  5.  
  6. #include "flexdef.h"
  7.  
  8. const char *skel[] = {
  9. !
  10.  
  11. sed 's/\\/&&/g' $* | sed 's/"/\\"/g' | sed 's/.*/  "&",/'
  12.  
  13. cat <<!
  14.   0
  15. };
  16. !
  17.